package com.stoneframe.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.stoneframe.dao.DaoSupport;
import com.stoneframe.util.baseApp.PageData;

@Service(value="homeService")
public class HomeService {
	
	@Resource(name="daoSupport")
	protected DaoSupport dao;
	
	/***
	 * 获取数据
	 * */
	public Object listAll(String mapper,PageData pd) throws Exception{
		return dao.findForList(mapper, pd);
	}

}
